/*
 * spaceshipinfo.cpp
 *
 *  Created on: Nov 28, 2009
 *      Author: magnus
 */

#include "spaceshipinfo.h"

using namespace spacedefender;

SpaceshipInfo::SpaceshipInfo(const std::string& id) {

	_movableObject = new MovableObject(id);
}

SpaceshipInfo::~SpaceshipInfo() {
	delete _movableObject;
	_movableObject = 0 ;
}

MovableObject* SpaceshipInfo::GetMovableObject()
{
	return _movableObject;
}

const MovableObject* SpaceshipInfo::GetMovableObjectConst() const
{
	return _movableObject;
}


